package com.test.javafaq_faq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.test.javafaq_commons.entity.Comment;
import com.test.javafaq_faq.vo.CommentVo;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author test.com
 * @since 2025-04-11
 */
public interface ICommentService extends IService<Comment> {

    //修改评论
    Comment upadateComment(Integer commentId, CommentVo commentVo, String username);

    //删除评论的方法
    boolean removeComment(Integer commentId,String username);

    //新增评论的方法
    Comment saveComment(CommentVo commentVo,String username);

}
